<%@ page import="com.csdig.db.model.Pagination" %>
<%@ page import="com.csdig.cms.model.Content" %>
<%@ page import="java.util.List" %>
<%--@elvariable id="base" type="String"--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title></title>
    <jsp:include page="common/header.jsp"/>

    <style type="text/css">
        .mainContent img {
            display: block;
            height: auto;
            max-width: 100%;
        }

        .mainContent .row {
            margin: 5px 0 25px 0;
        }

        #sidebar1 > div {
            background: none repeat scroll 0 0 #fff;
            margin-bottom: 30px;
            padding: 20px;
        }

        .bds_tools a {
            background: url("${base}/img/is.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
        }
        #sidebar1 > div h4 {
            margin: 0 0 15px;
            padding: 0;
        }

        #sidebar1 .widget_recent_entries li a, #sidebar1 .jetpack-post-views li a, #sidebar1 .widget_top-posts li a {
            border-top: 1px solid #ddd;
            display: block;
            /*padding: 10px 0;*/
            font-size: 13px;
        }

        .simple-social-icons ul.aligncenter {
            text-align: center;
        }

        .simple-social-icons ul li {
            background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
            border: medium none !important;
            float: left;
            list-style-type: none !important;
            margin: 0 6px 12px !important;
            padding: 0 !important;
        }

        .navbar .submenu form {
            padding: 8px 0 0 !important;
            width: 360px;
        }

        #search {
            width: 100%;
        }

        .input-group > input[type="text"], .form-inline
        .navbar form textarea {
            height: 36px;
        }

        .input-group {
            border-collapse: separate;
            display: table;
            position: relative;
        }

        .mainContent article img {
            width: 350px;
            height: 150px;
        }
    </style>
</head>
<body>
<!-- 导航条 -->
<jsp:include page="common/navbar.jsp"/>

 <div class="container">
     <div class="panel">
         <div class="col-lg-12 submenu">
             <ul class="nav navbar-nav">
                 <li><a href="${base}/blog.html?channelId=3" class="active">全部</a></li>
                 <li><a href="${base}/blog.html?channelId=31" class="">理财知识</a></li>
                 <li><a href="${base}/blog.html?channelId=32" class="">金融市场</a></li>
                 <li><a href="${base}/blog.html?channelId=33" class="">财经资讯</a></li>
                 <li><a href="${base}/blog.html?channelId=34" class="">投资技巧</a></li>
                 <li><a href="${base}/blog.html?channelId=35" class="">生活享受</a></li>
             </ul>
             <form class="form-inline col-lg-4 text-right" method="get" action="" style="padding-top: 10px;">
                 <fieldset>
                     <div class="input-group">
                         <input type="text" class="form-control" value="" placeholder="搜索" id="search" name="s">
                        <span class="input-group-btn">
                            <button class="btn btn-default" type="submit">
                                <span class="glyphicon glyphicon-search"></span>
                            </button>
                        </span>
                     </div>
                 </fieldset>
             </form>
         </div>
     </div>
 </div>
<div id="frontPage">
    <div class="container">
        <div class="row mainContent">
            <div class="col-lg-8">
                <div class="latest-post">
                    <div class="row item">
                        <div class="col-xs-12">
                            <a href="#">
                                <img alt="1226451122_8f1d8f9511_o" class="attachment-wpbs-featured wp-post-image" src="https://blog.personalcapital.com/wp-content/uploads/2014/07/1226451122_8f1d8f9511_o-780x300.jpg">
                            </a>
                        </div>
                        <!--<div class="col-xs-12">
                            <div class="copy">
                                <h1 class="h2"><a title="How Your Money Can Buy You Happiness" rel="bookmark" href="#">How Your Money Can Buy You Happiness</a></h1>
                                <p class="time">July 25, 2014</p>
                                <p class="meta">by <a rel="author" title="Posts by Arun Sundaresan" href="https://blog.personalcapital.com/author/arun/">Arun Sundaresan</a> in <a rel="category tag" title="View all posts in Financial Planning" href="https://blog.personalcapital.com/category/financial-planning-2/">Financial Planning</a></p>
                                <div class="exerpt"><p>Conventional wisdom says that money can’t buy you wisdom. What it fails to consider, however, is that we often don’t spend our money in a happiness-maximizing way. In 2010,…</p>
                                </div>
                            </div>
                        </div>-->
                    </div>
                </div>

                <div class="row item">
                    <div class="col-sm-6">
                        <article role="article" class="post-43695 post type-post status-publish format-standard has-post-thumbnail hentry category-market-news clearfix" >
                            <a href="#">
                                <img class="attachment-wpbs-featured wp-post-image" src="https://blog.personalcapital.com/wp-content/uploads/2014/07/2178472262_100cb44791_o1-780x300.jpg">
                            </a>
                            <section>
                                <h3><a rel="bookmark" href="#">李克强：谈进城农民落户问题</a></h3>
                                <p class="time">2014-7-25</p>
                                <p class="meta"><a rel="author"href="#">中国投资咨询网</a></p>
                                <p>24日，李克强考察山东首站，话题紧紧围绕进城农民落户问题。在德州市袁桥社区警务室，总理关切询问户籍民警，进城农民“户口能否落下”、“办手续方不方便”、“能否享受和市民同等服务”。总理一再叮嘱户籍民警，要用心为有意愿进城的农民服好务。 </p>
                            </section>
                        </article>
                    </div>

                    <div class="col-sm-6">
                        <article role="article" class="post-43695 post type-post status-publish format-standard has-post-thumbnail hentry category-market-news clearfix" >
                            <a href="#">
                                <img class="attachment-wpbs-featured wp-post-image" src="https://blog.personalcapital.com/wp-content/uploads/2014/07/six-figure-income-780x300.jpg">
                            </a>
                            <section>
                                <h3><a rel="bookmark" href="#">李克强考察山东调研城镇化发展</a></h3>
                                <p class="time">2014-7-25</p>
                                <p class="meta"><a rel="author"href="#">中国投资咨询网</a></p>
                                <p>中国政府网昨日发布消息，国务院总理李克强24日考察山东，当天围绕城镇化发展这个主题进行了多方调研。随后，他还到山东德州陵县，“全流程”考察德强现代家庭农场。  </p>
                            </section>
                        </article>
                    </div>
                </div>

                <div class="row item">
                	  <div class="col-sm-6">
                        <article role="article" class="post-43695 post type-post status-publish format-standard has-post-thumbnail hentry category-market-news clearfix" >
                            <a href="#">
                                <img class="attachment-wpbs-featured wp-post-image" src="https://blog.personalcapital.com/wp-content/uploads/2014/07/tyler-780x300.png">
                            </a>
                            <section>
                                <h3><a rel="bookmark" href="#">联想成立NBD创业平台</a></h3>
                                <p class="time">2014-7-25</p>
                                <p class="meta"><a rel="author"href="#">中国投资咨询网</a></p>
                                <p>昨日，联想集团推出互联网创业平台——联想NBD，并发布了该平台“孵化”的首批三个创新产品：智能眼镜、智能空气净化器和智能路由器。联想NBD平台的创立，标志着有意在崛起的物联网时代发力。  </p>
                            </section>
                        </article>
                    </div>

                    <div class="col-sm-6">
                        <article role="article" class="post-43695 post type-post status-publish format-standard has-post-thumbnail hentry category-market-news clearfix" >
                            <a href="#">
                                <img class="attachment-wpbs-featured wp-post-image" src="https://blog.personalcapital.com/wp-content/uploads/2014/07/14181133263_d03e112c55_o-780x300.jpg">
                            </a>
                            <section>
                                <h3><a rel="bookmark" href="#">通润装备上半年营收4.68亿</a></h3>
                                <p class="time">2014-7-25</p>
                                <p class="meta"><a rel="author"href="#">中国投资咨询网</a></p>
                                <p>：通润装备周四晚间披露半年度业绩快报，2014年上半年公司实现净利润2894.81万元，同比增长18.51%。   </p>
                            </section>
                        </article>
                    </div>
                </div>

                <div class="row item">
                    <div class="col-sm-6">
                        <article role="article" class="post-43695 post type-post status-publish format-standard has-post-thumbnail hentry category-market-news clearfix" >
                            <a href="#">
                                <img class="attachment-wpbs-featured wp-post-image" src="https://blog.personalcapital.com/wp-content/uploads/2014/07/Creating-Capital2-780x288.png">
                            </a>
                            <section>
                                <h3><a rel="bookmark" href="#">皖通科技中标机电施工合同</a></h3>
                                <p class="time">2014-7-25</p>
                                <p class="meta"><a rel="author"href="#">中国投资咨询网</a></p>
                                <p>皖通科技周四晚间发布公告，公司预中标“福建省漳州至永安高速公路龙岩段机电工程隧道通风、照明、消防及沿线供配电系统供货与安装合同项目”，合同金额预计为8573.55万元。 </p>
                            </section>
                        </article>
                    </div>

                    <div class="col-sm-6">
                        <article role="article" class="post-43695 post type-post status-publish format-standard has-post-thumbnail hentry category-market-news clearfix" >
                            <a href="#">
                                <img class="attachment-wpbs-featured wp-post-image" src="https://blog.personalcapital.com/wp-content/uploads/2014/07/watch-PC-780x300.png">
                            </a>
                            <section>
                                <h3><a rel="bookmark" href="#">房地产板块猛涨可能性较小</a></h3>
                                <p class="time">2014-7-25</p>
                                <p class="meta"><a rel="author"href="#">中国投资咨询网</a></p>
                                <p>周五早盘，房地产板块出现普遍回落，当前整体跌幅居前。截止发稿，中房地产、S前锋、中国武夷跌逾4%，大龙地产、世联行、华远地产跌逾3%。  </p>
                            </section>
                        </article>
                    </div>
                </div>

                <div class="row item">
                    <div class="col-sm-6">
                        <article role="article" class="post-43695 post type-post status-publish format-standard has-post-thumbnail hentry category-market-news clearfix" >
                            <a href="#">
                                <img class="attachment-wpbs-featured wp-post-image" src="https://blog.personalcapital.com/wp-content/uploads/2014/07/watch-PC-780x300.png">
                            </a>
                            <section>
                                <h3><a rel="bookmark" href="#">新嘉联出售新力光电二成股权</a></h3>
                                <p class="time">2014-7-25</p>
                                <p class="meta"><a rel="author"href="#">中国投资咨询网</a></p>
                                <p>新嘉联周四晚间发布公告称，公司拟出售参股公司浙江新力光电科技有限公司27.5%的股权。 </p>
                            </section>
                        </article>
                    </div>
                </div>

                <%
                    Pagination<Content> pagination = (Pagination<Content>) request.getAttribute("page");
                    List<Content> contentList = pagination.getList();
                    for (int i = 0; i < contentList.size();) {
                        Content first = contentList.get(i);
                        i++;
                        boolean hasSecond = i < contentList.size();
                %>
                    <div class="row item">
                        <div class="col-sm-6">
                            <article role="article" class="post-43695 post type-post status-publish format-standard has-post-thumbnail hentry category-market-news clearfix" >
                                <a href="${base}/content.html?contentId=<%= first.getContentId() %>" target="_blank">
                                    <img class="attachment-wpbs-featured wp-post-image" src="${base}<%= first.getTitleImg()%>">
                                </a>
                                <section>
                                    <h3><a rel="bookmark" href="${base}/content.html?contentId=<%= first.getContentId() %>" target="_blank"><%= first.getTitle() %></a></h3>
                                    <p class="time"><%= first.getReleaseDate() %></p>
                                    <%--<p class="meta"><a rel="author"href="#"></a></p>--%>
                                    <p><%= first.getDescription() %></p>
                                </section>
                            </article>
                        </div>

                <%
                        if(hasSecond) {
                            Content second = contentList.get(i);
                            i++;
                %>
                        <div class="col-sm-6">
                            <article role="article" class="post-43695 post type-post status-publish format-standard has-post-thumbnail hentry category-market-news clearfix" >
                                <a href="${base}/content.html?contentId=<%= second.getContentId() %>" target="_blank">
                                    <img class="attachment-wpbs-featured wp-post-image" src="${base}<%= second.getTitleImg()%>">
                                </a>
                                <section>
                                    <h3><a rel="bookmark" href="${base}/content.html?contentId=<%= second.getContentId() %>" target="_blank"><%= second.getTitle() %></a></h3>
                                    <p class="time"><%= second.getReleaseDate() %></p>
                                    <%--<p class="meta"><a rel="author"href="#"></a></p>--%>
                                    <p><%= second.getDescription() %></p>
                                </section>
                            </article>
                        </div>
                <%
                        }
                %>
                    </div>
                <%
                    }
                %>

                <div class="row item">
                    <ul class="pagination">
                        <li><a href="#">&laquo;</a></li>
                        <li><a href="#">1</a></li>
                        <li><a href="#">2</a></li>
                        <li><a href="#">3</a></li>
                        <li><a href="#">4</a></li>
                        <li><a href="#">5</a></li>
                        <li><a href="#">&raquo;</a></li>
                    </ul>
                </div>
            </div>

            <div role="complementary" class="col-sm-4 visible-lg" id="sidebar1">
            
            	<div class="row" style="">
              
                <div class="widget simple-social-icons" id="simple-social-icons-3">
                    <ul class="aligncenter list-inline bds_tools">
                        <li><a class="bds_tsina1" title="分享到新浪微博" href="#"><span><img  src="http://v2.uyan.cc/code/images/tsina.png"></span></a></li>
                        <li><a class="bds_qzone1" title="分享到QQ空间" href="#"><img style="margin: 1px 2px 0;" src="http://v2.uyan.cc/code/images/qq.png"></a></li>
                        <li><a class="bds_renren1" title="分享到人人网" href="#"><img style="margin: 1px 2px 0;" src="http://v2.uyan.cc/code/images/renren.png"></a></li>
                        <li><a class="bds_t1631" title="分享到网易微博" href="#"><img style="margin: 1px 2px 0;" src="http://v2.uyan.cc/code/images/t163.png"></a></li>
                        <li><a class="bds_tsouhu1" title="分享到搜狐微博" href="#"><img style="margin: 1px 2px 0;" src="http://v2.uyan.cc/code/images/tsohu.png"></a></li>
                        
                    </ul>
                </div>
                </div>  
                <div class="widget widget_top-posts panel panel-default" id="top-posts-3">
                    <div class="panel-body">
                        <h4 class="widgettitle">金融市场</h4>
                        <ul class="list-unstyled">
                            <li class="bold"><a href="http://finance.ifeng.com/a/20140725/12795228_0.shtml" target="_blank">新一轮打新热潮来袭 基金弃旧迎新低位抢筹</a></li>
                            <li><a href="http://finance.ifeng.com/a/20140725/12795220_0.shtml" target="_blank">房地产主题基金暴涨 基金经理依然看淡</a></li>
                            <li><a href="http://finance.ifeng.com/a/20140725/12795214_0.shtml" target="_blank">连续三季度遭抛弃 基金仓位触底或重拾白马股</a></li>
                            <li><a href="http://finance.ifeng.com/a/20140725/12795185_0.shtml" target="_blank">华宝添益大宗交易折价一成卖出 或涉嫌利益输送</a></li>
                            <li><a href="http://finance.ifeng.com/a/20140725/12795149_0.shtml" target="_blank">创业板指15天跌一成 公募转战蓝筹</a></li>
                            <li><a href="http://finance.ifeng.com/a/20140725/12794976_0.shtml" target="_blank">豪赌创业板 三家基金公司7月跌幅领先</a></li>
                            <li><a href="http://finance.ifeng.com/a/20140725/12794931_0.shtml" target="_blank">封闭期成收益“盾牌” 短期理财基金回报稳当</a></li>
                            <li><a href="http://finance.ifeng.com/a/20140725/12794911_0.shtml" target="_blank">仓位相差近90% 次新基金建仓缓慢分化明显</a></li>
                            <li><a href="http://finance.ifeng.com/a/20140725/12794809_0.shtml" target="_blank">封闭期成收益“盾牌” 短期理财基金回报稳当</a></li>
                            <li><a href="http://finance.ifeng.com/a/20140724/12787939_0.shtml" target="_blank">农银汇理陈富权：坚守成长 实践“三多”</a></li>
                        <%
                            Pagination<Content> jrPage = (Pagination<Content>) request.getAttribute("jinrong");
                            for (Content content : jrPage.getList()) {
                        %>
                            <li><a href="${base}/content.html?contentId=<%= content.getContentId() %>" target="_blank"><%= content.getTitle() %></a></li>
                        <%
                            }
                        %>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 底部介绍 -->
<jsp:include page="common/help_nav.jsp"/>

<!-- 底部 -->
<jsp:include page="common/footer.jsp"/>
</body>
</html>
